import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueParticles from 'vue-particles'
import axios from 'axios'
import JwChat from 'jwchat';

// 挂载一个自定义属性$http
Vue.prototype.$axios = axios
// 全局配置axios请求根路径(axios.默认配置.请求根路径)
// axios.defaults.baseURL = 'http://212.64.21.176:9001'
axios.defaults.baseURL = 'http://127.0.0.1:9001'
Vue.use(VueParticles)
Vue.use(ElementUI);
Vue.use(JwChat)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
